'''
    a example configure.
'''
from define import *

## some text included in the front of output files.
INLINE_TXT = '''
'''

## type string define.
VOID_TYPE = ['void']
INT_TYPE = ['BOOL', 'int', 'signed int', 'RESOURCE_TYPE', 'SCENE_NODE_TYPE', 'HWND', 
            'RENDER_DEVICE_OPTION']
UINT_TYPE = [ 'unsigned int']
ULONG_TYPE = ['DWORD', 'unsigned long']
STR_TYPE = ['TCHAR*', 'const TCHAR*']
STD_STR_TYPE = ['std::string', 'string']
FLOAT_TYPE = ['FLOAT', 'float']

## whether use WCHAR
WCHAR = True

## define 3d vector structure.
Vector3F = STRUCT_DEF()
Vector3F._paramList.append(PARAM_DEF('FLOAT', 'x'))
Vector3F._paramList.append(PARAM_DEF('FLOAT', 'y'))
Vector3F._paramList.append(PARAM_DEF('FLOAT', 'z'))

## define 2d vector structure.
Vector2F = STRUCT_DEF()
Vector2F._paramList.append(PARAM_DEF('FLOAT', 'x'))
Vector2F._paramList.append(PARAM_DEF('FLOAT', 'y'))

## structure type string define
STRUCT_DICT = {
   'Vector3F' : Vector3F,
   'Vector2F' : Vector2F,
}

## all type definition list.
ATOM_TYPE_LIST = [VOID_TYPE, INT_TYPE, UINT_TYPE, ULONG_TYPE, STR_TYPE, STD_STR_TYPE, FLOAT_TYPE]
TYPE_LIST = ATOM_TYPE_LIST + [STRUCT_DICT]


